﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KamRemakeRemake.Common.Extensions
{
    public static class StringExtension
    {
        /// <summary>
        /// Returns true when the current string is not null and does have a value
        /// </summary>
        /// <param name="str"></param>
        /// <returns></returns>
        public static bool HasValue(this string str)
        {
            return !string.IsNullOrEmpty(str);
        }

    }
}
